package com.zyx.camunda.common.constants;

/**
 * @author zyx
 * @since 2023/9/21 09:54
 */
public class GenericConstant {
    public static final String CONDITION_SPLIT_ORG = "|||";
    public static final String CONDITION_SPLIT = "\\|\\|\\|";
    public static final String COLON = ":";
    public static final String ARROW = "->";
    public static final String SEMICOLON_CN = "；";

    public static final String JWT_KEY_USER_ID = "userId";
    public static final String JWT_KEY_NAME = "name";
    public static final String JWT_KEY_ACCOUNT_TYPE = "accountType";
    public static final String JWT_KEY_USER_PHONE = "phone";
    public static final String JWT_KEY_DEVICE_ID = "deviceId";

    public static final String CONTEXT_KEY_USER_ID = "currentUserId";
    public static final String CONTEXT_KEY_USERNAME = "currentUserName";
    public static final String CONTEXT_KEY_USER_NAME = "currentUser";
    public static final String CONTEXT_KEY_USER_TOKEN = "currentUserToken";
    public static final String CONTEXT_KEY_ENTERPRISE_ID = "currentEnterpriseId";
    public static final String CONTEXT_KEY_ENTERPRISE_STAFF_ID = "currentEnterpriseStaffId";
    public static final String CONTEXT_KEY_ENTERPRISE_STAFF_NAME = "currentEnterpriseStaffName";
    public static final String CONTEXT_KEY_ENTERPRISE_NAME = "currentEnterpriseName";
    public static final String CONTEXT_KEY_ENTERPRISE_TYPE = "currentEnterpriseType";
    public static final String CONTEXT_KEY_USER_INNER_FLAG = "currentUserInnerFlag";
    public static final String IGNORE_USER_TOKEN = "IgnoreUserToken";
    public static final String CONTEXT_KEY_ACCOUNT_TYPE = "currentAccountType";

    public static final String ENTERPRISE_ID = "enterpriseId";
    public static final String ENTERPRISE_IID = "enterpriseid";

    public static final String COMMON_Y = "Y";
    public static final String COMMON_N = "N";
}
